const mutations = {
    setIsLogin(state, payload) {
        state.user.isLogin = payload;
    },
    //修改购物车的数量
    addCart(state, payload) {
        state.cartCount = payload.count;
    }
}
export default mutations;